<?php
$username=$_REQUEST["tt"];
$wechat=$_REQUEST["wechat"];
if(!$username||!$wechat){
    die("");
}
$con=mysql_connect('localhost','root','root');
mysql_select_db('jiaju');
mysql_query("set names utf8");
$mysql="INSERT INTO `userlist` (`username`,`wechat`) VALUES ('$username','$wechat')";
mysql_query($mysql);
mysql_close($con);
?>